<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html" %>
    <link rel="stylesheet" href="${ctx}/libjs/plugins/h-ui/css/H-ui.admin.css">
    <link rel="stylesheet" href="${ctx}/libjs/plugins/h-ui/style.css">
    <script type="text/javascript" src="${ctx}/appjs/finance/rcOperatorAccountRecordList.js"></script>
    <style>
        .form-group img {
            cursor: pointer
        }
    </style>
</head>

<script type="text/javascript">
    $('#topLink', window.parent.document).html(function (i, origText) {
        return '<ol class="breadcrumb">' +
            '<li class="breadcrumb-item">' +
            '<a href="">主页</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a>资金交易流水明细</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<strong>资金交易流水明细详情</strong>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a href="javascript:window.history.back()"><i class="fa fa-times"></i> 返回</a>' +
            '</li>' +
            '</ol>';
    });

</script>

<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <div class="columns pull-left">
                        <h5 class="font-bold">详情</h5>
                    </div>
                    <div class="ibox-tools">
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>

                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="frmEnterprise">
                        <div class="form-group row" class="col-sm-12">
                            <label class="col-sm-1 col-form-label text-right">流水单号</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" id="orderNum" readonly value="${info.orderNum}">
                            </div>
                            <label class="col-sm-1 col-form-label text-right">日期</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control"
                                       value="<fmt:formatDate value="${info.createdTime}" pattern="yyyy-MM-dd " />" readonly>
                            </div>
                        </div>

                        <div class="form-group row" class="col-sm-12">
                            <label class="col-sm-1 col-form-label text-right">入账时间</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control"
                                       value="<fmt:formatDate value="${info.recordTime}" pattern="yyyy-MM-dd HH:mm:ss" />" readonly>
                            </div>
                            <label class="col-sm-1 col-form-label text-right">流水类型</label>
                            <div class="col-sm-2">
                                <select disabled class="form-control" id="recordType" name="sex">
                                    <option value="0" ${info.recordType=="0"?"selected":""}>充值</option>
                                    <option value="1" ${info.recordType=="1"?"selected":""}>支出</option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group row" class="col-sm-12">
                            <label class="col-sm-1 col-form-label text-right">摘要</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" id="explains" readonly value="${info.explains}">
                            </div>
                            <label class="col-sm-1 col-form-label text-right">发生金额</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" id="amount" readonly value="${info.amount}">
                            </div>
                        </div>

                        <div class="form-group row" class="col-sm-12">
                            <label class="col-sm-1 col-form-label text-right">来源</label>
                            <div class="col-sm-2">
                                <select disabled class="form-control" id="recordSource" name="sex">
                                    <option value="0" ${info.recordSource=="0"?"selected":""}>平台</option>
                                    <option value="1" ${info.recordSource=="1"?"selected":""}>微信</option>
                                    <option value="2" ${info.recordSource=="2"?"selected":""}>支付宝</option>
                                </select>
                            </div>
                        </div>

                        <%--收款方信息--%>
                        <div class="form-group row" class="col-sm-12">
                            <label class="col-sm-1 col-form-label text-right">收款方名称</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" id="entryName" readonly value="${info.entryName}">
                            </div>
                            <label class="col-sm-1 col-form-label text-right">收款方类型</label>
                            <div class="col-sm-2">
                                <select disabled class="form-control" id="entryType" name="sex">
                                    <option value="0" ${info.entryType=="0"?"selected":""}>平台</option>
                                    <option value="1" ${info.entryType=="1"?"selected":""}>个人用户</option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group row" class="col-sm-12">
                            <label class="col-sm-1 col-form-label text-right">账户余额</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" id="entryAccount" readonly value="${info.entryAccount}">
                            </div>
                            <label class="col-sm-1 col-form-label text-right">账号</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" id="entryAccountNum" readonly value="${info.entryAccountNum}">
                            </div>
                        </div>

                        <div class="form-group row" class="col-sm-12">
                            <label class="col-sm-1 col-form-label text-right">开户行</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" id="entryBank" readonly value="${info.entryBank}">
                            </div>
                        </div>

                        <%--付款方信息--%>
                        <div class="form-group row" class="col-sm-12">
                            <label class="col-sm-1 col-form-label text-right">付款方名称</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" id="outName" readonly value="${info.outName}">
                            </div>
                            <label class="col-sm-1 col-form-label text-right">付款方类型</label>
                            <div class="col-sm-2">
                                <select disabled class="form-control" id="outType" name="sex">
                                    <option value="0" ${info.outType=="0"?"selected":""}>平台</option>
                                    <option value="1" ${info.outType=="1"?"selected":""}>个人用户</option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group row" class="col-sm-12">
                            <label class="col-sm-1 col-form-label text-right">账户余额</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" id="outAccount" readonly value="${info.outAccount}">
                            </div>
                            <label class="col-sm-1 col-form-label text-right">账号</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" id="outAccountNum" readonly value="${info.outAccountNum}">
                            </div>
                        </div>

                        <div class="form-group row" class="col-sm-12">
                            <label class="col-sm-1 col-form-label text-right">开户行</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" id="outBank" readonly value="${info.outBank}">
                            </div>
                            <label class="col-sm-1 col-form-label text-right">状态</label>
                            <div class="col-sm-2">
                                <select disabled class="form-control" id="status" name="sex">
                                    <option value="0" ${info.status=="0"?"selected":""}>成功</option>
                                    <option value="1" ${info.status=="1"?"selected":""}>失败</option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group row" class="col-sm-12">
                            <label class="col-sm-1 col-form-label text-right">操作员</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" id="createdBy" readonly value="${info.createdBy}">
                            </div>
                            <label class="col-sm-1 col-form-label text-right">备注</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" id="remark" readonly value="${info.remark}">
                            </div>
                        </div>

                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
